﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SortedGridView.ascx.cs" Inherits="SortedGridView" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView>
        &nbsp;共 
        <asp:Label ID="lbDataCount" runat="server" ForeColor="Red"></asp:Label>
        &nbsp;条数据 当前第：<asp:Label ID="lbNowPage" runat="server"></asp:Label>
        &nbsp;页 共<asp:Label ID="lbCount" runat="server"></asp:Label>
        页 
        <asp:LinkButton ID="lbFirstPage" runat="server" onclick="lbFirstPage_Click">首页</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="lbLastPage" runat="server" onclick="lbLastPage_Click">上一页</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="lbNextPage" runat="server" onclick="lbNextPage_Click">下一页</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="lbEndPage" runat="server" onclick="lbEndPage_Click">尾页</asp:LinkButton>
        &nbsp; 跳转到第 
        <asp:DropDownList ID="ddlGoTo" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddlGoTo_SelectedIndexChanged">
        </asp:DropDownList>
        &nbsp;页
    </ContentTemplate>
</asp:UpdatePanel>

